
<ul class="classes_box">
    {% for i in classes %}
        <li>
            <a href="/demo/nav/{{ i }}" {% if now_cls == i %} style="background-color: cornflowerblue"

            {% endif %} >{{ i|capfirst }}</a>
        </li>
    {% endfor %}
</ul>